<template>
	<view class="content">
		<view class="content-block">
			<view class="item" @click="navigate('/page_other/serve/specialist_detail')"  >
				<view class="photos">
					<image src="https://job-1306862033.cos.ap-chengdu.myqcloud.com/miniprogram-static/home/cyfw/js.jpg" mode="" ></image>
				</view>
				<view class="info">
					<view class="title">
						⽠州县委召开⼗六届第37次常委会讨论关于
					</view>
					<view class="small-title">
						7⽉3⽇，⽠州县委召开⼗六届第37次
					</view>
					<view class="time">
						2023-07-04
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		
		methods:{
			navigate(url) {
				uni.navigateTo({
					url
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		width: 100%;
		height: 100%;
		padding: 20rpx 20rpx;
		
		.content-block{
			width: 100%;
			height: 100%;
			// padding: 20px 20px;
			
			.item{
				width: 100%;
				height: 270rpx;
				padding: 10rpx;
				display: flex;
				background-color: #fff;
				border-radius: 20rpx;
				line-height: 30rpx;
				padding: 20rpx;
				
				.photos{
					width: 200rpx;
					height: 225rpx;
					background-color: #FEF6F4; 
					border-radius: 20rpx;
					image{
						width: 100%;
						height: 100%;
						border-radius: 20rpx;
					}
				}
				
				.info{
					display: flex;
					flex-direction: column;
					justify-content: space-around;
					width: calc((100% - 220rpx));
					margin-left: 20rpx;
					
					.title{
						overflow: hidden;
						white-space: nowrap;
						text-overflow: ellipsis;
						
					}
					
					.small-title{
						font-size: 28rpx;
						color: #767676;
						overflow: hidden;
						white-space: nowrap;
						text-overflow: ellipsis;
						margin-bottom: 30rpx;
					}
					
					.time{
						color: #767676;
					}
				}
			}
		}
		
	}
</style>